import { users } from '@prisma/client';
export type UserToken = {
    sub: string;
} & users;
export type AuthProvider = 'google' | 'facebook' | 'apple' | 'email';
export type SocialUser = {
    name: string;
    email: string;
    profilePic: string | null | undefined;
    provider: AuthProvider;
    providerId: string;
};
export type User = {
    id: string;
    name: string;
    email: string;
    phone: string;
    isEmailVerified: boolean;
    role: string;
};
export interface Client {
    id: string;
    name: string;
    phone: string;
    email: string;
    address: string;
    createdAt: string;
}
export interface Cylinderlog {
    id: string;
    cylinderId: string;
    cylinder: {
        rfid: string;
    };
    scannedBy: string;
    movement: "INSIDE" | "OUTSIDE";
    scannedAt: string;
}
export interface Cylinder {
    id: string;
    rfid: string;
    item_id: string;
    manufacturerName?: string;
    serialNumber?: string;
    manufacturingDate?: string;
    isSpecification?: string;
    testPressure?: string;
    tareWeight?: string;
    hydrostaticTestDate?: string;
    hydrostaticDueDate?: string;
    waterCapacity?: string;
    status: 'INSIDE' | 'OUTSIDE';
    is_client_owned?: number;
    createdAt: string;
    warehouse?: {
        id: string;
        name: string;
    };
}
export interface MaintenanceHistory {
    id: string;
    cylinderId: string;
    workType: string;
    date: string;
    createdBy: string;
    createdByName: string;
    dueDate: string;
    remark: string;
    cylinder: {
        rfid: string;
    };
}
